package com.star.blog.service;

import com.star.blog.common.Result;
import com.star.blog.pojo.Tag;
import com.baomidou.mybatisplus.extension.service.IService;
import com.star.blog.vo.TagVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 聂建强
 * @since 2021-11-20
 */
public interface TagService extends IService<Tag> {

    List<TagVo> findTagsByArticleId(Long articleId);

    Result hots(int limit);

    /***
     * 查询所有文章标签
     * @return
     */
    Result findAll();

    Result findAllDetail();

    Result findDetailById(Long id);
}
